/*
 *	Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
 *	长沙市师说网络科技有限公司 版权所有
 *	http://www.shishuo.com
 */

package com.hlingsoft.kkh.dao;

import com.hlingsoft.kkh.entity.SpecialFun;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface SpecialFunDao {

	 
	public List<SpecialFun> getSpecialFunList(@Param("offset") long offset,
											  @Param("rows") long rows);
	

 
 

	public int deleteSpecialFun(@Param("id") long id);

	public int addSpecialFun(SpecialFun specialFun);

	/**
	 * 得到用户数量
	 * 
	 * @param userId
	 * @return Integer
	 */
	public int getSpecialFunListCount();

}
